<template>
   <div class="cart-list">
     <scroll class="content">
       <cart-list-item v-for="item in cartList" :key="item.iid" :item-info="item"></cart-list-item>
     
     </scroll>
   </div>
</template>

<script>
import { mapGetters} from 'vuex'
import Scroll from 'common/scroll/Scroll'
import CartListItem from './CartListItem'

export default {
  name:'CartList',
   data () {
      return {

      };
   },

   components: {
      Scroll,
      CartListItem,
 
   },

   computed: {
     ...mapGetters(['cartList'])
   },

   methods: {}
}
</script>
<style  scoped>
.cart-list{
  height: calc(100% - 93px);
}
.content{
  height: 100%;
}
</style>